package com.jstyle.beatecg.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Keep;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/6/5.
 */
@Entity
public class HrvData implements Serializable {
    static final long serialVersionUID=0;
    @Id
    String time;
    int maxHeart;
    int minHeart;
    int avgHeart;
    int error;//0正常，1异常
    int bodyPressure=0;//身體壓力
    int bodyLevel=0;//身体素质
    int mentalPressure=0;//精神壓力
    String Timetwo;


    String allHistory;



    String data;//心率保存记录

    @Keep
    public HrvData(String time, int maxHeart, int minHeart, int avgHeart, int error,
            int bodyPressure, int bodyLevel, int mentalPressure,String Timetwo, String allHistorys,String data) {
        this.time = time;
        this.maxHeart = maxHeart;
        this.minHeart = minHeart;
        this.avgHeart = avgHeart;
        this.error = error;
        this.bodyPressure = bodyPressure;
        this.bodyLevel = bodyLevel;
        this.mentalPressure = mentalPressure;
        this.Timetwo = Timetwo;
        this.allHistory = allHistorys;
        this.data = data;
    }
    public HrvData() {
    }
    public String getData() { return data; }
    public void setData(String data) { this.data = data; }
    public String getAllHistory() { return allHistory; }
    public void setAllHistory(String allHistory) { this.allHistory = allHistory; }
    public String getTimetwo() {
        return Timetwo;
    }

    public void setTimetwo(String timetwo) {
        Timetwo = timetwo;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public int getMaxHeart() {
        return this.maxHeart;
    }
    public void setMaxHeart(int maxHeart) {
        this.maxHeart = maxHeart;
    }
    public int getMinHeart() {
        return this.minHeart;
    }
    public void setMinHeart(int minHeart) {
        this.minHeart = minHeart;
    }
    public int getAvgHeart() {
        return this.avgHeart;
    }
    public void setAvgHeart(int avgHeart) {
        this.avgHeart = avgHeart;
    }
    public int getError() {
        return this.error;
    }
    public void setError(int error) {
        this.error = error;
    }
    public int getBodyPressure() {
        return this.bodyPressure;
    }
    public void setBodyPressure(int bodyPressure) {
        this.bodyPressure = bodyPressure;
    }
    public int getBodyLevel() {
        return this.bodyLevel;
    }
    public void setBodyLevel(int bodyLevel) {
        this.bodyLevel = bodyLevel;
    }
    public int getMentalPressure() {
        return this.mentalPressure;
    }
    public void setMentalPressure(int mentalPressure) {
        this.mentalPressure = mentalPressure;
    }
}
